/**
 */
package fUML.Semantics.Loci.LociL1.impl;

import fUML.Semantics.Loci.LociL1.ChoiceStrategy;
import fUML.Semantics.Loci.LociL1.ExecutionFactory;
import fUML.Semantics.Loci.LociL1.ExecutionFactoryL1;
import fUML.Semantics.Loci.LociL1.Executor;
import fUML.Semantics.Loci.LociL1.FirstChoiceStrategy;
import fUML.Semantics.Loci.LociL1.LociL1Factory;
import fUML.Semantics.Loci.LociL1.LociL1Package;
import fUML.Semantics.Loci.LociL1.Locus;
import fUML.Semantics.Loci.LociL1.SemanticStrategy;
import fUML.Semantics.Loci.LociL1.SemanticVisitor;

import fUML.Semantics.Loci.LociL2.LociL2Package;

import fUML.Semantics.Loci.LociL2.impl.LociL2PackageImpl;

import fUML.Semantics.Loci.LociL3.LociL3Package;

import fUML.Semantics.Loci.LociL3.impl.LociL3PackageImpl;

import fUML.Syntax.Actions.BasicActions.BasicActionsPackage;

import fUML.Syntax.Actions.BasicActions.impl.BasicActionsPackageImpl;

import fUML.Syntax.Actions.CompleteActions.CompleteActionsPackage;

import fUML.Syntax.Actions.CompleteActions.impl.CompleteActionsPackageImpl;

import fUML.Syntax.Actions.IntermediateActions.IntermediateActionsPackage;

import fUML.Syntax.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl;

import fUML.Syntax.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage;

import fUML.Syntax.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl;

import fUML.Syntax.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage;

import fUML.Syntax.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl;

import fUML.Syntax.Activities.IntermediateActivities.IntermediateActivitiesPackage;

import fUML.Syntax.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl;

import fUML.Syntax.Classes.Kernel.KernelPackage;

import fUML.Syntax.Classes.Kernel.impl.KernelPackageImpl;

import fUML.Syntax.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage;

import fUML.Syntax.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl;

import fUML.Syntax.CommonBehaviors.Communications.CommunicationsPackage;

import fUML.Syntax.CommonBehaviors.Communications.impl.CommunicationsPackageImpl;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EOperation;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

import org.eclipse.emf.ecore.impl.EPackageImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Package</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class LociL1PackageImpl extends EPackageImpl implements LociL1Package {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass executionFactoryEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass semanticStrategyEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass semanticVisitorEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass executionFactoryL1EClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass choiceStrategyEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass executorEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass firstChoiceStrategyEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass locusEClass = null;

	/**
	 * Creates an instance of the model <b>Package</b>, registered with
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
	 * package URI value.
	 * <p>Note: the correct way to create the package is via the static
	 * factory method {@link #init init()}, which also performs
	 * initialization of the package, or returns the registered package,
	 * if one already exists.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see org.eclipse.emf.ecore.EPackage.Registry
	 * @see fUML.Semantics.Loci.LociL1.LociL1Package#eNS_URI
	 * @see #init()
	 * @generated
	 */
	private LociL1PackageImpl() {
		super(eNS_URI, LociL1Factory.eINSTANCE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static boolean isInited = false;

	/**
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
	 * 
	 * <p>This method is used to initialize {@link LociL1Package#eINSTANCE} when that field is accessed.
	 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #eNS_URI
	 * @see #createPackageContents()
	 * @see #initializePackageContents()
	 * @generated
	 */
	public static LociL1Package init() {
		if (isInited) return (LociL1Package)EPackage.Registry.INSTANCE.getEPackage(LociL1Package.eNS_URI);

		// Obtain or create and register package
		LociL1PackageImpl theLociL1Package = (LociL1PackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof LociL1PackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new LociL1PackageImpl());

		isInited = true;

		// Obtain or create and register interdependencies
		BasicBehaviorsPackageImpl theBasicBehaviorsPackage = (BasicBehaviorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicBehaviorsPackage.eNS_URI) instanceof BasicBehaviorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicBehaviorsPackage.eNS_URI) : BasicBehaviorsPackage.eINSTANCE);
		CommunicationsPackageImpl theCommunicationsPackage = (CommunicationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommunicationsPackage.eNS_URI) instanceof CommunicationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommunicationsPackage.eNS_URI) : CommunicationsPackage.eINSTANCE);
		KernelPackageImpl theKernelPackage = (KernelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(KernelPackage.eNS_URI) instanceof KernelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(KernelPackage.eNS_URI) : KernelPackage.eINSTANCE);
		IntermediateActivitiesPackageImpl theIntermediateActivitiesPackage = (IntermediateActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(IntermediateActivitiesPackage.eNS_URI) instanceof IntermediateActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(IntermediateActivitiesPackage.eNS_URI) : IntermediateActivitiesPackage.eINSTANCE);
		CompleteStructuredActivitiesPackageImpl theCompleteStructuredActivitiesPackage = (CompleteStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompleteStructuredActivitiesPackage.eNS_URI) instanceof CompleteStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompleteStructuredActivitiesPackage.eNS_URI) : CompleteStructuredActivitiesPackage.eINSTANCE);
		ExtraStructuredActivitiesPackageImpl theExtraStructuredActivitiesPackage = (ExtraStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ExtraStructuredActivitiesPackage.eNS_URI) instanceof ExtraStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ExtraStructuredActivitiesPackage.eNS_URI) : ExtraStructuredActivitiesPackage.eINSTANCE);
		IntermediateActionsPackageImpl theIntermediateActionsPackage = (IntermediateActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(IntermediateActionsPackage.eNS_URI) instanceof IntermediateActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(IntermediateActionsPackage.eNS_URI) : IntermediateActionsPackage.eINSTANCE);
		CompleteActionsPackageImpl theCompleteActionsPackage = (CompleteActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompleteActionsPackage.eNS_URI) instanceof CompleteActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompleteActionsPackage.eNS_URI) : CompleteActionsPackage.eINSTANCE);
		BasicActionsPackageImpl theBasicActionsPackage = (BasicActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicActionsPackage.eNS_URI) instanceof BasicActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicActionsPackage.eNS_URI) : BasicActionsPackage.eINSTANCE);
		fUML.Semantics.Actions.BasicActions.impl.BasicActionsPackageImpl theBasicActionsPackage_1 = (fUML.Semantics.Actions.BasicActions.impl.BasicActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.BasicActions.BasicActionsPackage.eNS_URI) instanceof fUML.Semantics.Actions.BasicActions.impl.BasicActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.BasicActions.BasicActionsPackage.eNS_URI) : fUML.Semantics.Actions.BasicActions.BasicActionsPackage.eINSTANCE);
		fUML.Semantics.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl theIntermediateActionsPackage_1 = (fUML.Semantics.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage.eNS_URI) instanceof fUML.Semantics.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage.eNS_URI) : fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage.eINSTANCE);
		fUML.Semantics.Actions.CompleteActions.impl.CompleteActionsPackageImpl theCompleteActionsPackage_1 = (fUML.Semantics.Actions.CompleteActions.impl.CompleteActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage.eNS_URI) instanceof fUML.Semantics.Actions.CompleteActions.impl.CompleteActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage.eNS_URI) : fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage.eINSTANCE);
		fUML.Semantics.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl theCompleteStructuredActivitiesPackage_1 = (fUML.Semantics.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eNS_URI) instanceof fUML.Semantics.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eNS_URI) : fUML.Semantics.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eINSTANCE);
		fUML.Semantics.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl theExtraStructuredActivitiesPackage_1 = (fUML.Semantics.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage.eNS_URI) instanceof fUML.Semantics.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage.eNS_URI) : fUML.Semantics.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage.eINSTANCE);
		fUML.Semantics.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl theIntermediateActivitiesPackage_1 = (fUML.Semantics.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eNS_URI) instanceof fUML.Semantics.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eNS_URI) : fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eINSTANCE);
		fUML.Semantics.Classes.Kernel.impl.KernelPackageImpl theKernelPackage_1 = (fUML.Semantics.Classes.Kernel.impl.KernelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Classes.Kernel.KernelPackage.eNS_URI) instanceof fUML.Semantics.Classes.Kernel.impl.KernelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Classes.Kernel.KernelPackage.eNS_URI) : fUML.Semantics.Classes.Kernel.KernelPackage.eINSTANCE);
		LociL2PackageImpl theLociL2Package = (LociL2PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LociL2Package.eNS_URI) instanceof LociL2PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LociL2Package.eNS_URI) : LociL2Package.eINSTANCE);
		LociL3PackageImpl theLociL3Package = (LociL3PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LociL3Package.eNS_URI) instanceof LociL3PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LociL3Package.eNS_URI) : LociL3Package.eINSTANCE);
		fUML.Semantics.CommonBehaviors.Communications.impl.CommunicationsPackageImpl theCommunicationsPackage_1 = (fUML.Semantics.CommonBehaviors.Communications.impl.CommunicationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.Communications.CommunicationsPackage.eNS_URI) instanceof fUML.Semantics.CommonBehaviors.Communications.impl.CommunicationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.Communications.CommunicationsPackage.eNS_URI) : fUML.Semantics.CommonBehaviors.Communications.CommunicationsPackage.eINSTANCE);
		fUML.Semantics.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl theBasicBehaviorsPackage_1 = (fUML.Semantics.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eNS_URI) instanceof fUML.Semantics.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eNS_URI) : fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eINSTANCE);

		// Create package meta-data objects
		theLociL1Package.createPackageContents();
		theBasicBehaviorsPackage.createPackageContents();
		theCommunicationsPackage.createPackageContents();
		theKernelPackage.createPackageContents();
		theIntermediateActivitiesPackage.createPackageContents();
		theCompleteStructuredActivitiesPackage.createPackageContents();
		theExtraStructuredActivitiesPackage.createPackageContents();
		theIntermediateActionsPackage.createPackageContents();
		theCompleteActionsPackage.createPackageContents();
		theBasicActionsPackage.createPackageContents();
		theBasicActionsPackage_1.createPackageContents();
		theIntermediateActionsPackage_1.createPackageContents();
		theCompleteActionsPackage_1.createPackageContents();
		theCompleteStructuredActivitiesPackage_1.createPackageContents();
		theExtraStructuredActivitiesPackage_1.createPackageContents();
		theIntermediateActivitiesPackage_1.createPackageContents();
		theKernelPackage_1.createPackageContents();
		theLociL2Package.createPackageContents();
		theLociL3Package.createPackageContents();
		theCommunicationsPackage_1.createPackageContents();
		theBasicBehaviorsPackage_1.createPackageContents();

		// Initialize created meta-data
		theLociL1Package.initializePackageContents();
		theBasicBehaviorsPackage.initializePackageContents();
		theCommunicationsPackage.initializePackageContents();
		theKernelPackage.initializePackageContents();
		theIntermediateActivitiesPackage.initializePackageContents();
		theCompleteStructuredActivitiesPackage.initializePackageContents();
		theExtraStructuredActivitiesPackage.initializePackageContents();
		theIntermediateActionsPackage.initializePackageContents();
		theCompleteActionsPackage.initializePackageContents();
		theBasicActionsPackage.initializePackageContents();
		theBasicActionsPackage_1.initializePackageContents();
		theIntermediateActionsPackage_1.initializePackageContents();
		theCompleteActionsPackage_1.initializePackageContents();
		theCompleteStructuredActivitiesPackage_1.initializePackageContents();
		theExtraStructuredActivitiesPackage_1.initializePackageContents();
		theIntermediateActivitiesPackage_1.initializePackageContents();
		theKernelPackage_1.initializePackageContents();
		theLociL2Package.initializePackageContents();
		theLociL3Package.initializePackageContents();
		theCommunicationsPackage_1.initializePackageContents();
		theBasicBehaviorsPackage_1.initializePackageContents();

		// Mark meta-data to indicate it can't be changed
		theLociL1Package.freeze();

  
		// Update the registry and return the package
		EPackage.Registry.INSTANCE.put(LociL1Package.eNS_URI, theLociL1Package);
		return theLociL1Package;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getExecutionFactory() {
		return executionFactoryEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getExecutionFactory_Locus() {
		return (EReference)executionFactoryEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getExecutionFactory_PrimitiveBehaviorPrototypes() {
		return (EReference)executionFactoryEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getExecutionFactory_BuiltInTypes() {
		return (EReference)executionFactoryEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getExecutionFactory_Strategies() {
		return (EReference)executionFactoryEClass.getEStructuralFeatures().get(3);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getSemanticStrategy() {
		return semanticStrategyEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getSemanticVisitor() {
		return semanticVisitorEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getExecutionFactoryL1() {
		return executionFactoryL1EClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getChoiceStrategy() {
		return choiceStrategyEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getExecutor() {
		return executorEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getExecutor_Locus() {
		return (EReference)executorEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getFirstChoiceStrategy() {
		return firstChoiceStrategyEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getLocus() {
		return locusEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLocus_Factory() {
		return (EReference)locusEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLocus_Executor() {
		return (EReference)locusEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getLocus_ExtensionalValues() {
		return (EReference)locusEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public LociL1Factory getLociL1Factory() {
		return (LociL1Factory)getEFactoryInstance();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isCreated = false;

	/**
	 * Creates the meta-model objects for the package.  This method is
	 * guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void createPackageContents() {
		if (isCreated) return;
		isCreated = true;

		// Create classes and their features
		executionFactoryEClass = createEClass(EXECUTION_FACTORY);
		createEReference(executionFactoryEClass, EXECUTION_FACTORY__LOCUS);
		createEReference(executionFactoryEClass, EXECUTION_FACTORY__PRIMITIVE_BEHAVIOR_PROTOTYPES);
		createEReference(executionFactoryEClass, EXECUTION_FACTORY__BUILT_IN_TYPES);
		createEReference(executionFactoryEClass, EXECUTION_FACTORY__STRATEGIES);

		semanticStrategyEClass = createEClass(SEMANTIC_STRATEGY);

		semanticVisitorEClass = createEClass(SEMANTIC_VISITOR);

		executionFactoryL1EClass = createEClass(EXECUTION_FACTORY_L1);

		choiceStrategyEClass = createEClass(CHOICE_STRATEGY);

		executorEClass = createEClass(EXECUTOR);
		createEReference(executorEClass, EXECUTOR__LOCUS);

		firstChoiceStrategyEClass = createEClass(FIRST_CHOICE_STRATEGY);

		locusEClass = createEClass(LOCUS);
		createEReference(locusEClass, LOCUS__FACTORY);
		createEReference(locusEClass, LOCUS__EXECUTOR);
		createEReference(locusEClass, LOCUS__EXTENSIONAL_VALUES);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isInitialized = false;

	/**
	 * Complete the initialization of the package and its meta-model.  This
	 * method is guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void initializePackageContents() {
		if (isInitialized) return;
		isInitialized = true;

		// Initialize package
		setName(eNAME);
		setNsPrefix(eNS_PREFIX);
		setNsURI(eNS_URI);

		// Obtain other dependent packages
		fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage theBasicBehaviorsPackage_1 = (fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eNS_URI);
		KernelPackage theKernelPackage = (KernelPackage)EPackage.Registry.INSTANCE.getEPackage(KernelPackage.eNS_URI);
		BasicBehaviorsPackage theBasicBehaviorsPackage = (BasicBehaviorsPackage)EPackage.Registry.INSTANCE.getEPackage(BasicBehaviorsPackage.eNS_URI);
		fUML.Semantics.Classes.Kernel.KernelPackage theKernelPackage_1 = (fUML.Semantics.Classes.Kernel.KernelPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Classes.Kernel.KernelPackage.eNS_URI);

		// Create type parameters

		// Set bounds for type parameters

		// Add supertypes to classes
		executionFactoryL1EClass.getESuperTypes().add(this.getExecutionFactory());
		choiceStrategyEClass.getESuperTypes().add(this.getSemanticStrategy());
		firstChoiceStrategyEClass.getESuperTypes().add(this.getChoiceStrategy());

		// Initialize classes and features; add operations and parameters
		initEClass(executionFactoryEClass, ExecutionFactory.class, "ExecutionFactory", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getExecutionFactory_Locus(), this.getLocus(), this.getLocus_Factory(), "locus", null, 0, 1, ExecutionFactory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getExecutionFactory_PrimitiveBehaviorPrototypes(), theBasicBehaviorsPackage_1.getOpaqueBehaviorExecution(), null, "primitiveBehaviorPrototypes", null, 0, -1, ExecutionFactory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getExecutionFactory_BuiltInTypes(), theKernelPackage.getPrimitiveType(), null, "builtInTypes", null, 0, -1, ExecutionFactory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getExecutionFactory_Strategies(), this.getSemanticStrategy(), null, "strategies", null, 0, -1, ExecutionFactory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		EOperation op = addEOperation(executionFactoryEClass, theBasicBehaviorsPackage_1.getExecution(), "createExecution", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicBehaviorsPackage.getBehavior(), "behavior", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage_1.getObject(), "context", 0, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(executionFactoryEClass, theKernelPackage_1.getEvaluation(), "createEvaluation", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage.getValueSpecification(), "specification", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(executionFactoryEClass, this.getSemanticVisitor(), "instantiateVisitor", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage.getElement(), "element", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(executionFactoryEClass, theBasicBehaviorsPackage_1.getOpaqueBehaviorExecution(), "instantiateOpaqueBehaviorExecution", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicBehaviorsPackage.getOpaqueBehavior(), "behavior", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(executionFactoryEClass, null, "addPrimitiveBehaviorPrototype", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicBehaviorsPackage_1.getOpaqueBehaviorExecution(), "execution", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(executionFactoryEClass, null, "addBuiltInType", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage.getPrimitiveType(), "type", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(executionFactoryEClass, theKernelPackage.getPrimitiveType(), "getBuiltInType", 0, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, ecorePackage.getEString(), "name", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(executionFactoryEClass, null, "setStrategy", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, this.getSemanticStrategy(), "strategy", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(executionFactoryEClass, this.getSemanticStrategy(), "getStrategy", 0, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, ecorePackage.getEString(), "name", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(executionFactoryEClass, ecorePackage.getEInt(), "getStrategyIndex", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, ecorePackage.getEString(), "name", 1, 1, IS_UNIQUE, !IS_ORDERED);

		initEClass(semanticStrategyEClass, SemanticStrategy.class, "SemanticStrategy", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		addEOperation(semanticStrategyEClass, ecorePackage.getEString(), "getName", 1, 1, IS_UNIQUE, !IS_ORDERED);

		initEClass(semanticVisitorEClass, SemanticVisitor.class, "SemanticVisitor", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		addEOperation(semanticVisitorEClass, null, "_endIsolation", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(semanticVisitorEClass, null, "_beginIsolation", 1, 1, IS_UNIQUE, !IS_ORDERED);

		initEClass(executionFactoryL1EClass, ExecutionFactoryL1.class, "ExecutionFactoryL1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(choiceStrategyEClass, ChoiceStrategy.class, "ChoiceStrategy", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		op = addEOperation(choiceStrategyEClass, ecorePackage.getEInt(), "choose", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, ecorePackage.getEInt(), "size", 1, 1, IS_UNIQUE, !IS_ORDERED);

		initEClass(executorEClass, Executor.class, "Executor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getExecutor_Locus(), this.getLocus(), this.getLocus_Executor(), "locus", null, 0, 1, Executor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		op = addEOperation(executorEClass, theBasicBehaviorsPackage_1.getParameterValue(), "execute", 0, -1, IS_UNIQUE, IS_ORDERED);
		addEParameter(op, theBasicBehaviorsPackage.getBehavior(), "behavior", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage_1.getObject(), "context", 0, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicBehaviorsPackage_1.getParameterValue(), "inputs", 0, -1, IS_UNIQUE, IS_ORDERED);

		op = addEOperation(executorEClass, theKernelPackage_1.getValue(), "evaluate", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage.getValueSpecification(), "specification", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(executorEClass, theKernelPackage_1.getReference(), "start", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage.getClass_(), "type", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicBehaviorsPackage_1.getParameterValue(), "inputs", 0, -1, IS_UNIQUE, !IS_ORDERED);

		initEClass(firstChoiceStrategyEClass, FirstChoiceStrategy.class, "FirstChoiceStrategy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(locusEClass, Locus.class, "Locus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getLocus_Factory(), this.getExecutionFactory(), this.getExecutionFactory_Locus(), "factory", null, 0, 1, Locus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getLocus_Executor(), this.getExecutor(), this.getExecutor_Locus(), "executor", null, 0, 1, Locus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getLocus_ExtensionalValues(), theKernelPackage_1.getExtensionalValue(), theKernelPackage_1.getExtensionalValue_Locus(), "extensionalValues", null, 0, -1, Locus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		op = addEOperation(locusEClass, null, "fUML_setExecutor", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, this.getExecutor(), "executor", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(locusEClass, null, "fUML_setFactory", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, this.getExecutionFactory(), "factory", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(locusEClass, theKernelPackage_1.getExtensionalValue(), "getExtent", 0, -1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage.getClassifier(), "classifier", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(locusEClass, null, "add", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage_1.getExtensionalValue(), "value", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(locusEClass, null, "remove", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage_1.getExtensionalValue(), "value", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(locusEClass, theKernelPackage_1.getObject(), "instantiate", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage.getClass_(), "type", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(locusEClass, ecorePackage.getEBoolean(), "conforms", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage.getClassifier(), "type", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage.getClassifier(), "classifier", 1, 1, IS_UNIQUE, !IS_ORDERED);

		// Create resource
		createResource(eNS_URI);
	}

} //LociL1PackageImpl
